home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / mhis020.zip / CALLDATE.MEX < prev    next >
Text File  |  1996-09-10  |  673b  |  33 lines

  1. #include <max.mh>
  2. #include "callers.mh"
  3.  
  4. int main () {
  5.   string: result;
  6.   char: newCh;
  7.  
  8.   result := substr (input, 1, strlen (input) - 1);
  9.   input := "";
  10.   if (input_str (result, INPUT_NLB_LINE + INPUT_DEFAULT, 0, 80,
  11.     COL_LBLUE + "Enter date to search for: " + COL_CYAN) = 0) {
  12.     return 0;
  13.     };
  14.  
  15.   read_callers ();
  16.   if (call_open ()) {
  17.     long: calls;
  18.     struct _callinfo: ci;
  19.  
  20.     calls := calls_numrecs ();
  21.     if (callers.forward_search) {
  22.       long: idx;
  23.  
  24.         // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  25.       }
  26.     call_close ();
  27.     }
  28.   else {
  29.     print ("Error openning callers log!\n");
  30.     };
  31.   write_callers ();
  32.   }
  33.